package com.ruoyi.wms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 调拨单明细对象 wms_transfer_detail
 * 
 * @author ruoyi
 * @date 2022-03-28
 */
public class WmsTransferDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String transDetlUuid;

    /** 物料ID */
    @Excel(name = "物料ID")
    private String fkItemUuid;
    private String itemName;

    /** 调拨单ID */
    @Excel(name = "调拨单ID")
    private String transUuid;

    /** 调出仓位 */
    @Excel(name = "调出仓位")
    private String fkStkPosUuidFrom;

    /** 调入仓位 */
    @Excel(name = "调入仓位")
    private String fkStkPosUuidTo;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String dictMeasuringUnit;

    /** 调拨数量 */
    @Excel(name = "调拨数量")
    private BigDecimal transQty;

    /** 状态（正常、停用，字典表） */
    @Excel(name = "状态", readConverterExp = "正=常、停用，字典表")
    private String sysNormalDisable;

    /** 备注 */
    @Excel(name = "备注")
    private String docNote;
    private String stockPosNameFrom;
    private String stockPosNameTo;
    private String wmsDictMeasuringUnit;

    /* - - setters getters - - - - - - - - - - - - - - - - - - - */

    public String getWmsDictMeasuringUnit() {
        return wmsDictMeasuringUnit;
    }

    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit) {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }

    public String getStockPosNameFrom() {
        return stockPosNameFrom;
    }

    public void setStockPosNameFrom(String stockPosNameFrom) {
        this.stockPosNameFrom = stockPosNameFrom;
    }

    public String getStockPosNameTo() {
        return stockPosNameTo;
    }

    public void setStockPosNameTo(String stockPosNameTo) {
        this.stockPosNameTo = stockPosNameTo;
    }

    @Override
    public String getItemName() {
        return itemName;
    }

    @Override
    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public void setTransDetlUuid(String transDetlUuid)
    {
        this.transDetlUuid = transDetlUuid;
    }

    public String getTransDetlUuid() 
    {
        return transDetlUuid;
    }
    public void setFkItemUuid(String fkItemUuid) 
    {
        this.fkItemUuid = fkItemUuid;
    }

    public String getFkItemUuid() 
    {
        return fkItemUuid;
    }
    public void setTransUuid(String transUuid) 
    {
        this.transUuid = transUuid;
    }

    public String getTransUuid() 
    {
        return transUuid;
    }
    public void setFkStkPosUuidFrom(String fkStkPosUuidFrom) 
    {
        this.fkStkPosUuidFrom = fkStkPosUuidFrom;
    }

    public String getFkStkPosUuidFrom() 
    {
        return fkStkPosUuidFrom;
    }
    public void setFkStkPosUuidTo(String fkStkPosUuidTo) 
    {
        this.fkStkPosUuidTo = fkStkPosUuidTo;
    }

    public String getFkStkPosUuidTo() 
    {
        return fkStkPosUuidTo;
    }
    public void setDictMeasuringUnit(String dictMeasuringUnit) 
    {
        this.dictMeasuringUnit = dictMeasuringUnit;
    }

    public String getDictMeasuringUnit() 
    {
        return dictMeasuringUnit;
    }
    public void setTransQty(BigDecimal transQty) 
    {
        this.transQty = transQty;
    }

    public BigDecimal getTransQty() 
    {
        return transQty;
    }
    public void setSysNormalDisable(String sysNormalDisable) 
    {
        this.sysNormalDisable = sysNormalDisable;
    }

    public String getSysNormalDisable() 
    {
        return sysNormalDisable;
    }
    public void setDocNote(String docNote) 
    {
        this.docNote = docNote;
    }

    public String getDocNote() 
    {
        return docNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("transDetlUuid", getTransDetlUuid())
            .append("fkItemUuid", getFkItemUuid())
            .append("transUuid", getTransUuid())
            .append("fkStkPosUuidFrom", getFkStkPosUuidFrom())
            .append("fkStkPosUuidTo", getFkStkPosUuidTo())
            .append("dictMeasuringUnit", getDictMeasuringUnit())
            .append("transQty", getTransQty())
            .append("sysNormalDisable", getSysNormalDisable())
            .append("docNote", getDocNote())
            .toString();
    }
}
